﻿@using Lucky.AssetManager.Web

@{
	Assets.MasterCss("~/Content/Site.css", "CommonStyles").Add();
	Assets.MasterCss("~/Content/LuckyAssetManagerContrib.css", "CommonStyles").Add();
	Assets.MasterCss("~/Content/themes/base/jquery.ui.all.css", "CommonStyles").Add();
	Assets.MasterCss("~/AlternativeContent/css/TestCssComponentsPaths.css", "CommonStyles").Add();

	Assets.MasterJavascript("~/Scripts/modernizr-1.7.js", "Modernizr").Add();
	Assets.MasterJavascript("~/Scripts/MicrosoftAjax.js", "CommonLibraries").Add();
	Assets.MasterJavascript("~/Scripts/jquery-1.5.1.js", "CommonLibraries").Add();
	Assets.MasterJavascript("~/Scripts/jquery-ui-1.8.11.js", "CommonLibraries").Add();
	Assets.MasterJavascript("~/Scripts/jquery.unobtrusive-ajax.js", "CommonLibraries").Add();
	Assets.MasterJavascript("~/Scripts/jquery.validate.js", "CommonLibraries").Add();
	Assets.MasterJavascript("~/Scripts/jquery.validate.unobtrusive.js", "CommonLibraries").Add();
	Assets.MasterJavascript("~/Scripts/knockout-2.1.0beta.js", "CommonLibraries").Add();
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
	@Assets.RenderCss("CommonStyles")
	@RenderSection("StyleSheets", false)

	@Assets.RenderJavascript("Modernizr")
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>LuckyAssetManagerContrib Example MVC Application</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                </ul>
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>

	@Assets.RenderJavascript("CommonLibraries")
	@RenderSection("Scripts", false)
</body>
</html>
